package com.ytzl.gotrip.service;

import com.ytzl.gotrip.vo.userinfo.ItripUserVO;

public interface SendEmailService {
    /**
     *
     * @param user 用户账号
     * @param code 验证码
     * @throws Exception
     */
    void validateEmail(String user, String code) throws Exception;

    /**
     * 使用邮箱进行验正
     * @param itripUserVO
     */
    void registerByEamil(ItripUserVO itripUserVO) throws Exception;
}
